package cn.tedu._04mybatis.pojo.vo;

import cn.tedu._04mybatis.pojo.entity.Comment;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Component
public class ResultMapVO3 {
    private Long wid;
    private java.util.Date wcreated;
    private java.util.List<Comment> commentList;

    @Override
    public String toString() {
        return "ResultMapVO3{" +
                "id=" + wid +
                ", created=" + wcreated +
                ", commentList=" + commentList +
                '}';
    }

    public Long getId() {
        return wid;
    }

    public void setId(Long id) {
        this.wid = id;
    }

    public Date getCreated() {
        return wcreated;
    }

    public void setCreated(Date created) {
        this.wcreated = created;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }
}
